<?php
/**
 * @author tangbl
 */
class IndexAction extends CommonAction {
	
	/**
	 * 支付通知
	 */
    public function index(){
    	
    	$order   = D("Home://Order");
    	$orderno = $this->_get("out_trade_no","trim","");
		
		F("order_u.php_0",$orderno);
			
		if($orderno){
			$m['orderno'] = $orderno;
			$row  = $order->where($m)->find();
			
			if($row['id']){
				F("order_u.php_1",$row);
				$flag = $order->callPayFunc($row,"notify");
			}
		}
    	
    }
}